package com.ecar.api.support.dto;
/**
 * 
 * 常量
 * @author yss
 */
public class Constants {
	
	public static final int USER_PASSENGER=1;//乘客
	public static final int USER_DRIVER=2;//司机
	public static final int USER_ADMIN=3;//工作人员

	public static final int COMPLAINT_HANDLE_STATUS=1;//司机申诉已处理状态
	public static final int COMPLAINT_NO_HANDLE_STATUS=2;//司机申诉未处理状态
	
	public static final int IDEA__HANDLE_STATUS=1;//司机申诉已处理状态
	public static final int IDEA_NO_HANDLE_STATUS=2;//司机申诉未处理状态
	
	public static final int EXCEPTION_HANDLE_STATUS=1;//订单异常处理信息已处理状态
	public static final int EXCEPTION_NO_HANDLE_STATUS=2;//订单异常处理信息未处理状态
	
	public static final int ORDER_FINISH_STATUS=1;//订单完成状态
	public static final int ORDER_NO_FINISH_STATUS=2;//订单未完成状态
	
	public static final int ORDER_OFF=1;//订单取消
	public static final int ORDER_WAITING=2;//等待接单
	public static final int ALREADY_GET_ORDER=3;//司机已接单
	public static final int ARRIVE_POINT=4;//到达上车点
	public static final int START_ROAD=5;//开始行程
	public static final int END_ROAD=6;//结束行程
	public static final int ALREADY_SEND_ORDER=7;//已派单
	
	public static final int FREE_CANCEL_COUNTS = 3;//每日打车免费取消次数
	public static final int FIVE_SEATS_CANCEL_PRICE = 2;//5座取消每公里费用
	public static final int SEVEN_SEATS_CANCEL_PRICE = 4;//7座取消每公里费用
	
	//订单类型
	public static final int RECEIVE_TYPE=1;//接机
	public static final int SEND_TYPE=2;//送机
	public static final int FAST_NOW=3;//快车即时
	public static final int FAST_FUTURE=4;//快车预约
	public static final int CARPOOL_NOW=5;//快车实时拼车
	public static final int CARPOOL_FU=7;//快车预约拼车
	
	public static final int TYPE_ALIPAY = 1;		// 支付宝
	public static final int TYPE_WECHAT = 2;		// 微信支付
	public static final int TYPE_WECHATH5 = 3;		// 微信公众号支付
	
	public static final int PAY_TIME_OUT=30;//支付超时时间
	
	public static final int PAY_SUCCESS=1;//支付成功
	public static final int PAY_FAIL=2;//支付失败
	
	public static final int SHARE_CAR_ISSUCCESS=1;//拼车成功
	public static final int SHARE_CAR_ISFAIL=0;//拼车失败
}
